let express = require("express");
let path = require("path");

// 创建express对象
let router = express();

// 添加网址
router.get("/login",(require,response) => {
    response.sendFile(path.resolve("./code/views/login.html"));
})

router.get("/register",(require,response) => {
    response.sendFile(path.resolve("./code/views/register.html"));
})

module.exports = router;

